<!--
  功能：
  作者：parker
  邮箱：geekpark@icloud.com
  微信：wzb10746
  时间：2023年08月18日 18:19:29
  版本：
  文件: src/pagesB/my/qrCode.vue
-->
<template>
<view>
  <vue-qr
   text="https://uiadmin.net/uview-plus/components/button.html" 
  :callback="scanCallBack" 
  qid="testid" />
</view>
</template>
<script setup>
import { ref, getCurrentInstance, onBeforeMount, reactive, toRefs, computed, nextTick  } from 'vue'
import vueQr from 'vue-qr/src/packages/vue-qr.vue'
import { onLoad } from '@dcloudio/uni-app'
const r = ref()
const state = reactive({ 
 a: {}, 
 b: {} 
})
const scanCallBack = (dataUrl,id)=>{
  console.log(dataUrl,id)
}
onLoad(async () => { 
 const { proxy } = getCurrentInstance() 
  })
const { a } = toRefs(mainData)
</script>

<style lang='scss' scoped>
</style>

<!--
文件版权号：ec4d6d23-105f-4d40-a794-efc2d67f1989
-->
